﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zocono.WCS.Domain.EntityInfo;
using Zocono.WCS.Infrastructure.ApllicationDto;
using Zocono.WCS.Infrastructure.ApllicationDto.DtoWcsManage;
using Zocono.WCS.Infrastructure.ApllicationDto.WCSTaskDto;

namespace Zocono.WCS.Domain.PlcPointDomain
{
    public interface IPlcPointInfoService:IDomainService
    {
        Task<bool> InsertPlcPointInfoAsync(PlcPointInfoDto plcPointInfo);
        Task<bool> UpdatePlcPointInfoAsync(PlcPointInfoDto plcPointInfo);
        Task<bool> DeletePlcPointInfoAsync(PlcPointInfoDto plcPointInfo);

        Task<List<PlcPointInfo>> GetPlcPointInfoAsync(PlcPointInfo plcPointInfo);

        Task<PageDto<PlcPointInfoDto>> GetPagedPlcPointInfoAsync(QueryPlcPointDto queryPlcPointDto);


        Task<bool> DeletePlcPointInfoByIdAsync(long id);
        Task<PlcPointInfoDto> GetPlcPointInfoByIdAsync(long id);
    }
}
